import Http from "@/services/axios";
// 账号列表
const accountList = (params: Record<string, any>) => {
  return Http.post("/crowd-crawler/account/query", params);
};
// 查看品牌
const queryBrandsList = (params: Record<string, any>) => {
  return Http.post("/crowd-crawler/account/queryBrands", params);
};
// 初始化
const updateAccount = (params:any) => {
  return Http.put("/crowd-crawler/account/update", params);
};
// 删除
const deleteAccount = (params: Record<string, any>) => {
  return Http.delete("/crowd-crawler/account/delete", params);
};
// 添加
const createAccount = (params: Record<string, any>) => {
  return Http.put("/crowd-crawler/account/create", params);
};

export { accountList, queryBrandsList, updateAccount, deleteAccount, createAccount };
